import http from '@/utils/http.js'

// 待配送产品
export const deliveryProductList = (params) => {
    return http({
        method: 'get',
        url: `/fitasty/api/deliveryPlan/deliveryProductList`,
        params
    })
}

// 新增配送计划表
export const InsertDeliverTime = (data) => {
    return http({
        method: 'post',
        url: `/fitasty/api/deliveryPlan/InsertDeliverTime`,
        data
    })
}

// 配送计划表
export const queryDeliveryPlanByFoodId = (data) => {
    return http({
        method: 'post',
        url: `/fitasty/api/deliveryPlan/queryDeliveryPlanByFoodId`,
        data
    })
}

// 配送计详情表
export const queryDeliveryPlanDetailByFoodId = (params) => {
    return http({
        method: 'get',
        url: `/fitasty/api/deliveryPlan/queryDeliveryPlanDetailByFoodId`,
        params
    })
}
// 删除配送计划表
export const deleteDeliverPlDanTime = (data) => {
    return http({
        method: 'post',
        url: `/fitasty/api/deliveryPlan/deleteDeliverPlDanTime`,
        data
    })
}